<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/incube-app.tld" prefix="app" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ page errorPage="/common/error.jsp" %>
<%@ page import = "java.util.ArrayList"%>
<%
	boolean title=false;
  try{
	int count = 0;
	ArrayList tmp = (ArrayList) session.getAttribute("seminarios");
	if(tmp != null){
		ArrayList sect = new ArrayList();
		count = tmp.size();
	
		for (int i = count - 1; i >= 0; i--){
			sect.add(tmp.get(i));
		}
		request.setAttribute("seminarios",sect);
	}
  }catch(Exception e){
  	out.println("ERROR:\n" + e.getMessage());
  	e.printStackTrace();
  }
%>
<style type="text/css">
	.celeste {color:#3399ca;font-size:8pt;font-weight:bold;text-decoration:none}
</style>

<script language="javascript">parent.showLabel('seminarios')</script>
<table border="0" cellpadding="5" cellspacing="0" height="100%" style="font-family:arial;font-size:8pt" width="100%">
	<tr>
		<td valign="top">
			<logic:notEmpty name="seminarios">
			<logic:iterate id="subtipos" name="seminarios" type="org.fiel.domain.TipoSubtipoImpl">
			<logic:notEmpty name="subtipos" property="informacionList">
			<p align="center"><b><%=subtipos.getSubTipo().getDescripcion()%></b></p>
			<table border="0" width="100%">
					<tr>
						<td width="10%" valign="top">&nbsp; 
							
						</td>
						<td valign="top"> 
							<span class="celeste" style="font-size:8pt" >
							<%= subtipos.getSubTipo().getDesSubtipo() %>
							</span> 
						</td>
					</tr>
					<tr>
						<td width="10%" valign="top">&nbsp; 
							
						</td>
						<td valign="top">
						<table cellpadding="0" cellspacing="0" width="100%">
							
							<logic:iterate id="info" name="subtipos" property="informacionList" type="org.fiel.domain.Informacion">
								<tr>
									<td valign="top">
										<a class="celeste" href="/publicaciones/SyC/<%= info.getNameFile()%>" target="_blank" style="font-size:8pt;font-weight:normal">
											<%=info.getTitulo()%>
										</a>
									</td>
								</tr>
							</logic:iterate>
							
						</table>
						</td>
					</tr>
			</table>
				<%title=true;%>	
				</logic:notEmpty>
				</logic:iterate>
				</logic:notEmpty>
		</td>
	</tr>
</table>